import request from '@/utils/request'

export function listrepositoryManager(query) {
  return request({
    url: '/repositoryManager/list',
    method: 'get',
    params: query
  })
}

export function createrepositoryManager(data) {
  return request({
    url: '/repositoryManager/create',
    method: 'post',
    data
  })
}

export function readrepositoryManager(data) {
  return request({
    url: '/repositoryManager/get/' + data.id,
    method: 'get'
  })
}

export function updaterepositoryManager(data) {
  return request({
    url: '/repositoryManager/update',
    method: 'post',
    data
  })
}

export function deleterepositoryManager(data) {
  return request({
    url: '/repositoryManager/delete/' + data.id,
    method: 'delete'
  })
}

export function getInvoicesId() {
  return request({
    url: '/repositoryManager/getInvoicesId',
    method: 'get'
  })
}

export function ruaffirm(query) {
  return request({
    url: '/repositoryManager/ruaffirm',
    method: 'get',
    params: query
  })
}

export function wLabelList(query) {
  return request({
    url: '/wLabel/list',
    method: 'get',
    params: query
  })
}

export function repositoryManager(query) {
  return request({
    url: 'repositoryManager/get/' + query.id,
    method: 'get',
  })
}







